package com.dzu.gulimall.cart.feign;

import com.dzu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author by ZhaoDong
 * @Classname MemberFeignService
 * @Description 用于使用token进行登陆，而不是用session
 */
@FeignClient("gulimall-member")
public interface MemberFeignService {

    @RequestMapping("member/member/info/{id}")
     R info(@PathVariable("id") Long id);

}
